From 7620c3ef87375a1702fc133aa670972ab8d45c03 Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Tue, 24 Feb 2015 20:20:59 -0800 Subject: [PATCH] Don't time out after 0.006 seconds --- src/cargo/ops/registry.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cargo/ops/registry.rs b/src/cargo/ops/registry.rs index d72ed78fd..b62e5b204 100644 --- a/src/cargo/ops/registry.rs +++ b/src/cargo/ops/registry.rs @@ -161,7 +161,7 @@ pub fn registry(config: &Config, /// Create a new HTTP handle with appropriate global configuration for cargo. pub fn http_handle(config: &Config) -> CargoResult { - let handle = http::handle().timeout(60); + let handle = http::handle().timeout(60_000); let handle = match try!(http_proxy(config)) { Some(proxy) => handle.proxy(proxy), None => handle, -- 2.30.2